// ant-design国际化处理

import ar_EG from 'ant-design-vue/lib/locale-provider/ar_EG';
import bg_BG from 'ant-design-vue/lib/locale-provider/bg_BG';
import bn_BD from 'ant-design-vue/lib/locale-provider/bn_BD';
import ca_ES from 'ant-design-vue/lib/locale-provider/ca_ES';
import cs_CZ from 'ant-design-vue/lib/locale-provider/cs_CZ';
import da_DK from 'ant-design-vue/lib/locale-provider/da_DK';
import de_DE from 'ant-design-vue/lib/locale-provider/de_DE';
import el_GR from 'ant-design-vue/lib/locale-provider/el_GR';
import en_GB from 'ant-design-vue/lib/locale-provider/en_GB';
import en_US from 'ant-design-vue/lib/locale-provider/en_US';
import es_ES from 'ant-design-vue/lib/locale-provider/es_ES';
import et_EE from 'ant-design-vue/lib/locale-provider/et_EE';
import fa_IR from 'ant-design-vue/lib/locale-provider/fa_IR';
import fi_FI from 'ant-design-vue/lib/locale-provider/fi_FI';
import fr_BE from 'ant-design-vue/lib/locale-provider/fr_BE';
import fr_FR from 'ant-design-vue/lib/locale-provider/fr_FR';
import ga_IE from 'ant-design-vue/lib/locale-provider/ga_IE';
import he_IL from 'ant-design-vue/lib/locale-provider/he_IL';
import hi_IN from 'ant-design-vue/lib/locale-provider/hi_IN';
import hr_HR from 'ant-design-vue/lib/locale-provider/hr_HR';
import hu_HU from 'ant-design-vue/lib/locale-provider/hu_HU';
import hy_AM from 'ant-design-vue/lib/locale-provider/hy_AM';
import id_ID from 'ant-design-vue/lib/locale-provider/id_ID';
import it_IT from 'ant-design-vue/lib/locale-provider/it_IT';
import is_IS from 'ant-design-vue/lib/locale-provider/is_IS';
import ja_JP from 'ant-design-vue/lib/locale-provider/ja_JP';
import ka_GE from 'ant-design-vue/lib/locale-provider/ka_GE';
import kn_IN from 'ant-design-vue/lib/locale-provider/kn_IN';
import ko_KR from 'ant-design-vue/lib/locale-provider/ko_KR';
import lv_LV from 'ant-design-vue/lib/locale-provider/lv_LV';
import mk_MK from 'ant-design-vue/lib/locale-provider/mk_MK';
import ml_IN from 'ant-design-vue/lib/locale-provider/ml_IN';
import mn_MN from 'ant-design-vue/lib/locale-provider/mn_MN';
import ms_MY from 'ant-design-vue/lib/locale-provider/ms_MY';
import nb_NO from 'ant-design-vue/lib/locale-provider/nb_NO';
import ne_NP from 'ant-design-vue/lib/locale-provider/ne_NP';
import nl_BE from 'ant-design-vue/lib/locale-provider/nl_BE';
import nl_NL from 'ant-design-vue/lib/locale-provider/nl_NL';
import pl_PL from 'ant-design-vue/lib/locale-provider/pl_PL';
import pt_BR from 'ant-design-vue/lib/locale-provider/pt_BR';
import pt_PT from 'ant-design-vue/lib/locale-provider/pt_PT';
import ro_RO from 'ant-design-vue/lib/locale-provider/ro_RO';
import ru_RU from 'ant-design-vue/lib/locale-provider/ru_RU';
import sk_SK from 'ant-design-vue/lib/locale-provider/sk_SK';
import sr_RS from 'ant-design-vue/lib/locale-provider/sr_RS';
import sl_SI from 'ant-design-vue/lib/locale-provider/sl_SI';
import sv_SE from 'ant-design-vue/lib/locale-provider/sv_SE';
import ta_IN from 'ant-design-vue/lib/locale-provider/ta_IN';
import th_TH from 'ant-design-vue/lib/locale-provider/th_TH';
import tr_TR from 'ant-design-vue/lib/locale-provider/tr_TR';
import ur_PK from 'ant-design-vue/lib/locale-provider/ur_PK';
import uk_UA from 'ant-design-vue/lib/locale-provider/uk_UA';
import vi_VN from 'ant-design-vue/lib/locale-provider/vi_VN';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
import zh_TW from 'ant-design-vue/lib/locale-provider/zh_TW';

const locales = {
  'ar_EG': ar_EG,
  'bg_BG': bg_BG,
  'bn_BD': bn_BD,
  'ca_ES': ca_ES,
  'cs_CZ': cs_CZ,
  'da_DK': da_DK,
  'de_DE': de_DE,
  'el_GR': el_GR,
  'en_GB': en_GB,
  'en_US': en_US,
  'es_ES': es_ES,
  'et_EE': et_EE,
  'fa_IR': fa_IR,
  'fi_FI': fi_FI,
  'fr_BE': fr_BE,
  'fr_FR': fr_FR,
  'ga_IE': ga_IE,
  'he_IL': he_IL,
  'hi_IN': hi_IN,
  'hr_HR': hr_HR,
  'hu_HU': hu_HU,
  'hy_AM': hy_AM,
  'id_ID': id_ID,
  'it_IT': it_IT,
  'is_IS': is_IS,
  'ja_JP': ja_JP,
  'ka_GE': ka_GE,
  'kn_IN': kn_IN,
  'ko_KR': ko_KR,
  'lv_LV': lv_LV,
  'mk_MK': mk_MK,
  'ml_IN': ml_IN,
  'mn_MN': mn_MN,
  'ms_MY': ms_MY,
  'nb_NO': nb_NO,
  'ne_NP': ne_NP,
  'nl_BE': nl_BE,
  'nl_NL': nl_NL,
  'pl_PL': pl_PL,
  'pt_BR': pt_BR,
  'pt_PT': pt_PT,
  'ro_RO': ro_RO,
  'ru_RU': ru_RU,
  'sk_SK': sk_SK,
  'sr_RS': sr_RS,
  'sl_SI': sl_SI,
  'sv_SE': sv_SE,
  'ta_IN': ta_IN,
  'th_TH': th_TH,
  'tr_TR': tr_TR,
  'ur_PK': ur_PK,
  'uk_UA': uk_UA,
  'vi_VN': vi_VN,
  'zh_CN': zh_CN,
  'zh_TW': zh_TW
}

export const getLocale = (type) => {
  return locales[type]
}